package com.ling.pl.autoproject.definition.view.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

/**
 * 通过component种类开始一步一步选择
 */
public class ViewComponet {
    @Column(name = "VIEW_ID", length = 36)
    @ModelProperty(comment = "实体id")
    String viewId;

    @Column(name = "COMPONENT_ID", length = 36)
    @ModelProperty(comment = "部件id")
    String componentId;

    @Column(name = "WIDTH_")
    @ModelProperty(comment = "宽度")
    Integer width;

    @Column(name = "HEIGHT_")
    @ModelProperty(comment = "高度")
    Integer height;

    @Column(name = "PADDING", length = 150)
    @ModelProperty(comment = "外框间隔")
    String padding;

    @Column(name = "MARGIN", length = 150)
    @ModelProperty(comment = "内框间隔")
    String margin;

    @Column(name = "HEIGHT_")
    @ModelProperty(comment = "排序")
    Integer sortOrder;

    @Column(name = "IS_ENABLE")
    @ModelProperty(comment = "是否启用")
    Boolean isEnable;

    @Column(name = "DYNAMIC_PARAMS", length = 250)
    @ModelProperty(comment = "控件动态参数")
    String dynamicParams;

    @Column(name = "REMARK", length = 500)
    @ModelProperty(comment = "备注")
    String remark;
}
